package cn.anlaser.form;

import java.util.Date;

import javax.validation.constraints.NotNull;

import lombok.Data;
import lombok.EqualsAndHashCode;

import org.springframework.data.domain.Sort.Direction;

import cn.anlaser.status.DataEnum;
@Data
@EqualsAndHashCode(callSuper = false)
public class SimpleForm extends CommonForm {
	/**
	 * 
	 */
	private static final long serialVersionUID = 7113268222021302524L;
	@NotNull
	private String name;
	private String orders = "id";
	private Direction direction = Direction.ASC;

	@NotNull
	private int serNo;
	@NotNull
	private DataEnum flag;
	@NotNull
	private String code;
	
	private Long createdBy;
	private Date createdDate;
	private Long lastModifiedBy;
	private Date lastModifiedDate;
}
